-
Home
-
Checkout Mestres do WP for WooCommerce
-
6.4
-
Code
-
Classes
- CookieJar
Total Complexity |
62 |
Dependencies |
6 |
Dependents |
3 |
Total lines |
305 |
Lines of code |
189 |
Logical lines of code |
95 |
Comment lines |
61 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setCookie() |
A |
46 |
13 |
38 |
withCookieHeader() |
A |
53 |
9 |
20 |
clear() |
S |
52 |
7 |
30 |
getCookiePathFromRequest() |
S |
59 |
5 |
16 |
extractCookies() |
S |
59 |
5 |
14 |
getCookieByName() |
S |
64 |
5 |
10 |
shouldPersist() |
S |
67 |
4 |
8 |
__construct() |
S |
66 |
3 |
9 |
removeCookieIfEmpty() |
S |
64 |
3 |
10 |
fromArray() |
S |
61 |
2 |
12 |
clearSessionCookies() |
S |
68 |
2 |
8 |
getCookieValue() |
S |
81 |
1 |
3 |
toArray() |
S |
74 |
1 |
5 |
count() |
S |
80 |
1 |
3 |
getIterator() |
S |
79 |
1 |
3 |